package com.qriver.gateway.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.qriver.gateway.fallback.UserServiceFallback;


@FeignClient(value = "qriver-core",url = "http://127.0.0.1:9100",fallback = UserServiceFallback.class)
public interface IUserService {
	@RequestMapping(value="/admin/token/{token}",method = RequestMethod.GET)
	public String authentication(@PathVariable("token") String token);
}
